<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--管理员的Menu的公共抽取页-->
<div id="adm-Menu" class="container menu-nav">
    <nav class="navbar navbar-expand-lg lochana-bg text-white">
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
            <span class="ti-menu text-white"></span>
        </button>

        <div class="collapse navbar-collapse" id="navbarSupportedContent">
            <ul class="navbar-nav mr-auto">
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="/#" role="button" aria-haspopup="true" aria-expanded="false"><span class="iconfont icon-gonggao"></span>公告管理</a>
                    <div class="dropdown-menu">
                        <a class="dropdown-item" th:href="@{/adm/checkNotices}">公告列表</a>
                        <a class="dropdown-item" th:href="@{/adm/toAddNotice}">添加公告</a>
                    </div>
                </li>

                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="/#" role="button" aria-haspopup="true" aria-expanded="false"><span class="iconfont icon-yonghu"></span>用户管理</a>
                    <div class="dropdown-menu">
                        <a class="dropdown-item" th:href="@{/adm/checkUserByType}">用户列表</a>
                        <a class="dropdown-item" th:href="@{/adm/toAddUsers}">批量添加用户</a>
                        <a class="dropdown-item" th:href="@{/adm/checkRepairmans}">维修工列表</a>
                        <a class="dropdown-item" th:href="@{/adm/toAddRepairman}">添加维修工</a>
                    </div>
                </li>

                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="/#" role="button" aria-haspopup="true" aria-expanded="false"><span class="iconfont icon-leijianzhuxiulix"></span>报修管理</a>
                    <div class="dropdown-menu">
                        <a class="dropdown-item" th:href="@{/adm/checkUndealrepairs}">报修处理</a>
                        <a class="dropdown-item" th:href="@{/adm/checkAllrepairs}">报修列表</a>
                    </div>
                </li>

            </ul>
        </div>
    </nav>
</div>

<div class="container menu-nav" id="app-Menu-Baoxiu">
    <nav class="navbar navbar-expand-lg lochana-bg text-white">
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent2"
                aria-controls="navbarSupportedContent2" aria-expanded="false" aria-label="Toggle navigation">
            <span class="ti-menu text-white"></span>
        </button>

        <div class="collapse navbar-collapse" id="navbarSupportedContent2">
            <ul class="navbar-nav mr-auto">
                <li class="nav-item dropdown ">
                    <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="/#" role="button" aria-haspopup="true" aria-expanded="false"><span class="ti-home"></span>首页</a>
                    <div class="dropdown-menu">
                        <a class="dropdown-item" th:href="@{/app/main}">我的首页</a>
                    </div>
                </li>

                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="/#" role="button" aria-haspopup="true" aria-expanded="false"><span class="ti-file"></span>我要报修</a>
                    <div class="dropdown-menu">
                        <a class="dropdown-item" th:href="@{/app/rep/checkinsert}">普通报修</a>
                    </div>
                </li>

                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="/#" role="button" aria-haspopup="true" aria-expanded="false"><span class="ti-pencil-alt"></span>我的报修</a>
                    <div class="dropdown-menu">
                        <a class="dropdown-item" th:href="@{/app/checkrep}">查看报修信息</a>
                    </div>
                </li>

                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="/#" role="button" aria-haspopup="true" aria-expanded="false"><span class="ti-layout-tab"></span>更改密码</a>
                    <div class="dropdown-menu">
                        <a class="dropdown-item" th:href="@{/app/checkpwd}">修改密码</a>
                    </div>
                </li>
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="/#" role="button" aria-haspopup="true" aria-expanded="false"><span class="ti-layout-tab"></span>更改信息</a>
                    <div class="dropdown-menu">
                        <a class="dropdown-item" th:href="@{/app/toupdateUserDetail(userId = ${session.user.userId})}">修改信息</a>
                    </div>
                </li>

            </ul>
        </div>
    </nav>
</div>
<!-- /Menu 报修人-->
<!-- Menu 首页-->
<div class="container menu-nav" id="app-Menu-Index">
    <nav class="navbar navbar-expand-lg lochana-bg text-white">
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent1" aria-controls="navbarSupportedContent1" aria-expanded="false" aria-label="Toggle navigation">
            <span class="ti-menu text-white"></span>
        </button>

        <div class="collapse navbar-collapse" id="navbarSupportedContent1">
            <ul class="navbar-nav mr-auto">
                <li class="nav-item dropdown active">
                    <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="/#" role="button" aria-haspopup="true" aria-expanded="false"><span class="ti-home"></span>公告管理</a>
                    <div class="dropdown-menu">
                        <a class="dropdown-item" href="/index.html">默认</a>
                    </div>
                </li>

            </ul>
        </div>
    </nav>
</div>
<!-- Menu 首页-->
<div class="container menu-nav" id="repman-Menu">
    <nav class="navbar navbar-expand-lg lochana-bg text-white">
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
                aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
            <span class="ti-menu text-white"></span>
        </button>

        <div class="collapse navbar-collapse" id="navbarSupportedContent3">
            <ul class="navbar-nav mr-auto">
                <li class="nav-item dropdown ">
                    <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="/#" role="button" aria-haspopup="true" aria-expanded="false"><span class="ti-home"></span>首页</a>
                    <div class="dropdown-menu">
                        <a class="dropdown-item" th:href="@{/repman/main}">我的首页</a>
                    </div>
                </li>
                <li class="nav-item dropdown ">
                    <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false"><span class="ti-home"></span>报修</a>
                    <div class="dropdown-menu">
                        <a class="dropdown-item" th:href="@{/repman/checkrep/wait}">未处理</a>
                        <a class="dropdown-item" th:href="@{/repman/checkrep/finish}">已处理</a>
                    </div>
                </li>
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" data-toggle="dropdown"  role="button" aria-haspopup="true"
                       aria-expanded="false"><span class="ti-wheelchair"></span> 评价</a>
                    <div class="dropdown-menu">
                        <a class="dropdown-item" th:href="@{/repman/checkcom}">查看评价</a>
                    </div>
                </li>
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" data-toggle="dropdown" th:href="@{/repman/checkpwd}" role="button" aria-haspopup="true"
                       aria-expanded="false"><span class="ti-user"></span> 更改密码</a>
                    <div class="dropdown-menu">
                        <a class="dropdown-item" th:href="@{/repman/checkpwd}">修改密码</a>
                    </div>
                </li>

            </ul>
        </div>
    </nav>
</div>
</body>
</html>